/* 网格管理表单样式 */
.guide-dialog {
  .el-dialog {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    
    .el-dialog__header {
      background-color: #f5f7fa;
      padding: 16px 20px;
      margin: 0;
      border-bottom: 1px solid #e4e7ed;
      
      .el-dialog__title {
        font-size: 18px;
        font-weight: 600;
        color: #303133;
      }
    }
    
    .el-dialog__body {
      padding: 24px 24px 10px;
    }
    
    .el-dialog__footer {
      padding: 10px 24px 20px;
      border-top: 1px solid #f0f0f0;
    }
  }
  
  .el-form {
    .el-row {
      margin-bottom: 0;
    }
    
    .el-col {
      margin-bottom: 16px;
    }
    
    .el-form-item {
      margin-bottom: 8px;
      
      .el-form-item__label {
        font-weight: 500;
        color: #606266;
      }
      
      .el-form-item__content {
        .el-input, .el-input-number, .el-select, .el-tree-select {
          .el-input__wrapper {
            box-shadow: 0 0 0 1px #dcdfe6 inset;
            transition: box-shadow 0.2s;
            border-radius: 4px;
            
            &:hover {
              box-shadow: 0 0 0 1px #c0c4cc inset;
            }
            
            &.is-focus {
              box-shadow: 0 0 0 1px var(--el-color-primary) inset;
            }
          }
        }
        
        .el-input-number {
          width: 100%;
          
          .el-input-number__decrease, .el-input-number__increase {
            background-color: #f5f7fa;
            border-color: #dcdfe6;
            
            &:hover {
              color: var(--el-color-primary);
            }
          }
        }
      }
      
      &.is-error {
        .el-input__wrapper {
          box-shadow: 0 0 0 1px var(--el-color-danger) inset !important;
        }
      }
    }
  }
  
  .dialog-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    
    .el-button {
      min-width: 100px;
      padding: 10px 20px;
      border-radius: 4px;
      font-weight: 500;
      transition: all 0.3s;
      
      &.el-button--primary {
        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
        }
      }
    }
  }
}